package ar.com.arkios.kfcon4d.dao;

import ar.com.arkios.kfcon4d.Connection4D;
import ar.com.arkios.j4d.opException;
import org.junit.After;
import org.junit.Before;

/**
 * 
 */
public abstract class TransactionalTestCase {

    public TransactionalTestCase() { }

    @Before
    public void setUp() throws opException {
        Connection4D.getInstance().getMyProcess().StartTransaction();
    }

    @After
    public void tearDown() throws opException {
        Connection4D.getInstance().getMyProcess().CancelTransaction();
    }

}